package com.itaming.lycheeframework.support.cipher.gm;

import org.bouncycastle.jcajce.provider.asymmetric.ec.GMCipherSpi;

/**
 * SM2加密
 *
 * @author A.Ming
 */
public class Sm2SpiProvider {

    /**
     * SM2-C1C2C3算法
     */
    public static class C1C2C3 extends GMCipherSpi {

        public C1C2C3() {
            super(new Sm2Engine(Sm2Engine.Mode.C1C2C3));
        }

    }

    /**
     * SM2-C1C3C2算法
     */
    public static class C1C3C2 extends GMCipherSpi {

        public C1C3C2() {
            super(new Sm2Engine(Sm2Engine.Mode.C1C3C2));
        }

    }

}
